<?php
	require("conexao.php");
	require("functions.php");
	$datai = date('Y/m/d', strtotime($_REQUEST['datai']);
	if (isset($_REQUEST['dataf'])){
		$dataf = date('Y/m/d', strtotime($_REQUEST['dataf']);
	}else {
		$dataf = date('Y/m/d');
	}
	
	echo cTabelaE($datai, $dataf, "");
?>